package com.ruoyi.easywenku.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.common.utils.LongValueSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户表
 *
 * @author Mark
 * @email
 * @date 2019-10-12 16:07:47
 */
@Data
@TableName("awk_user")
public class User implements Serializable {
    private static final long serialVersionUID = 1L;


    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = LongValueSerializer.class)
    private Long userId;
    /**
     * 账号
     */
    private String account;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 密码
     */
    private String password;
    /**
     * 邀请码
     */
    private String invitationCode;
    /**
     * 姓名
     */
    private String name;

    /**
     * 身份证
     */
    private String identityNumber;

    /**
     * 状态
     */
    private String status;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 备注
     */
    private Integer numberOfSearches;


    /**
     * 创建时间
     */
    private Date createTime;


}
